package com.事件模式;

/**
 * @author: wh(1835734390 @ qq.com)
 * @date: 2023/5/26 15:03
 * @description:
 * @version:
 */

/**
 * 事件对象
 */
public abstract class AbstractEvent {

    //事件源
    protected Object source;

    public AbstractEvent(Object source) {
        this.source = source;
    }

    public Object getSource() {
        return source;
    }

    public void setSource(Object source) {
        this.source = source;
    }
}

